seat: Add property annotations
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2021 01:06:01 +0000 (20:06 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:32 +0000 (16:37 +0000)
Connect properties, getters, and setters with annotations.

gdk/gdkseat.c

index 397dc9ff4b87237b6c609e79dc6d5a98b157a123..2709fadc85a78becf768e5a7c48a3c1b3cded663 100644 (file)
@@ -180,7 +180,7 @@ gdk_seat_class_init (GdkSeatClass *klass)
                   GDK_TYPE_DEVICE_TOOL);
 
   /**
-   * GdkSeat:display:
+   * GdkSeat:display: (attributes org.gtk.Property.get=gdk_seat_get_display)
    *
    * `GdkDisplay` of this seat.
    */
@@ -393,7 +393,7 @@ gdk_seat_device_removed (GdkSeat   *seat,
 }
 
 /**
- * gdk_seat_get_display:
+ * gdk_seat_get_display: (attributes org.gtk.Method.get_property=display)
  * @seat: a `GdkSeat`
  *
  * Returns the `GdkDisplay` this seat belongs to.